/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Beans;

/**
 *
 * @author Venus
 */
public class TinhTrangMA {

    private int MaTTMA;
    private int MaNN;
    private String TenTTMA;
    public TinhTrangMA(){
        MaTTMA = 0;
        MaNN = 0;
        TenTTMA = "";
    }
    public void setMaTTMA (int value){
        MaTTMA = value;
    }
    public int getMaTTMA(){
        return MaTTMA;
    }
    public void setMaNN (int value){
        MaNN = value;
    }
    public int getMaNN(){
        return MaNN;
    }
    public void setTenTTMA (String value){
        if(value == null)
            value = "";
        TenTTMA = value;
    }
    public String getTenTTMA(){
        return TenTTMA;
    }


}
